package com.maxlen.search.constant;

public class EsConstant {

    //保存 sku 数据在 es 中的索引
    public static final String PRODUCT_INDEX = "product";

    public static final String SKU_TITLE = "skuTitle";

    public static final String CATALOG_ID = "catalogId";

    public static final String CATALOG_NAME = "catalogName";

    public static final Integer CATALOG_SIZE = 10;

    public static final String BRAND_ID = "brandId";

    public static final String BRAND_NAME = "brandName";

    public static final String BRAND_IMG = "brandImg";

    public static final Integer BRAND_SIZE = 10;

    public static final String ATTRS = "attrs";

    public static final String ATTRS_ATTR_ID = "attrs.attrId";

    public static final String ATTRS_ATTR_NAME = "attrs.attrName";

    public static final Integer ATTRS_SIZE = 10;

    public static final String ATTRS_ATTR_VALUE = "attrs.attrValue";

    public static final String HAS_STOCK = "hasStock";

    public static final String SKU_PRICE = "skuPrice";

    public static final String SALE_COUNT = "saleCount";

    public static final String HOT_SCORE = "hotScore";

    public static final String DESC = "desc";

    public static final String ASC = "asc";
    public static final Integer PAGE_SIZE = 10;

    public static final String BRAND_AGG = "brand_agg";

    public static final String BRAND_NAME_AGG = "brand_name_agg";

    public static final String BRAND_IMG_AGG = "brand_img_agg";

    public static final String CATALOG_AGG = "catalog_agg";

    public static final String CATALOG_NAME_AGG = "catalog_name_agg";

    public static final String ATTR_NESTED_AGG = "attr_nested_agg";

    public static final String ATTR_AGG = "attr_agg";

    public static final String ATTR_NAME_AGG = "attr_name_agg";

    public static final String ATTR_VALUE_AGG = "attr_value_agg";

    public static final String CATEGORY_AGG = "category_agg";
}
